package com.demo.starter.repository;

import com.demo.starter.entity.ArticleBody;
import com.demo.starter.entity.ArticleBodyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

@Repository
public interface ArticleBodyMapper {
    long countByExample(ArticleBodyExample example);

    int deleteByExample(ArticleBodyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ArticleBody record);

    int insertSelective(ArticleBody record);

    List<ArticleBody> selectByExampleWithBLOBsWithRowbounds(ArticleBodyExample example, RowBounds rowBounds);

    List<ArticleBody> selectByExampleWithBLOBs(ArticleBodyExample example);

    List<ArticleBody> selectByExampleWithRowbounds(ArticleBodyExample example, RowBounds rowBounds);

    List<ArticleBody> selectByExample(ArticleBodyExample example);

    ArticleBody selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ArticleBody record, @Param("example") ArticleBodyExample example);

    int updateByExampleWithBLOBs(@Param("record") ArticleBody record, @Param("example") ArticleBodyExample example);

    int updateByExample(@Param("record") ArticleBody record, @Param("example") ArticleBodyExample example);

    int updateByPrimaryKeySelective(ArticleBody record);

    int updateByPrimaryKeyWithBLOBs(ArticleBody record);

    int updateByPrimaryKey(ArticleBody record);
}